<%@ page import="framework.common.Common" %>
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">

<html>
<head>
    <meta charset="utf-8">
    <title>牛皮</title>
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="format-detection" content="telephone=no">

    <!-- 引入框架的js、css等 -->
    <jsp:include page="${request.contextPath}/static/include.jsp" flush="true"/>
    <%-- 模态框的css --%>
    <link rel="stylesheet" href="<%=request.getContextPath()%>/static/css/modal.css?ver=<%=System.currentTimeMillis()%>"/>
    <%-- 引入弹出层js --%>
    <script type="text/javascript" src="/static/js/framework_layer.js"></script>
    <%-- 引入本页面的js --%>
    <script type="text/javascript" src="/Url.do?method=getJs&url=aj/ajBuyRecord/js/addDetail.js"></script>

</head>

<body class="childBody">
<form id="bofrom" class="layui-form">
    <%-- 脚本管理名称，脚本版本主键，脚本版本 --%>
    <input type="hidden" name="jsManagerName" id="h_jsManagerName">
    <input type="hidden" name="jsLid" id="h_jsLid">


    <div class="layui-form-item">
        <label class="layui-form-label"><span style="color:red">*</span>脚本类型</label>
        <div class="layui-input-block">
            <select id="ajJsManager" lay-filter="ajJsManager">
                <%-- 选项动态生成 --%>
            </select>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">脚本最新版本</label>
        <div class="layui-input-block">
            <input type="text" name="version" id="version" class="layui-input" readonly="readonly">
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">单价(元)</label>
        <div class="layui-input-block">
            <input type="text" name="jsPrice" id="jsPrice" class="layui-input" readonly="readonly">
        </div>
    </div>

    <!--隐藏的提交按钮，提供父页面调用  -->
    <div class="layui-form-item" style="display: none;">
        <div class="layui-input-inline">
            <button id="saveBtn" class="layui-btn form-submit-btn" lay-submit="" lay-filter="*">添加</button>
            <button type="reset" class="layui-btn layui-btn-primary">重置</button>
        </div>
    </div>
</form>
</body>
</html>
